set hive.exec.dynamic.partition=true;            --  动态分区
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions=90;         --  每天生成 60 个分区
set hive.exec.max.dynamic.partitions.pernode=90; --  每天生成 60 个分区

insert overwrite table jms_dim.dim_first_second_third_code_info_dt
select
*,
'{{ execution_date | cst_ds }}' as dt
from jms_dim.dim_first_second_third_code_info
 distribute by 1 ;